//
//  ST_NotificationNameCost.swift
//  btvideo
//
//  Created by Jason on 2021/9/27.
//  Copyright © 2021 JarvanZhang. All rights reserved.
//

import UIKit



@objc extension NSNotification {
    public static let beautyConfigClosed = Notification.Name.beauty_config_closed_noti
}


extension Notification.Name {
    /// 通话违规
    static let engagement_forbidden = Notification.Name("engagement_forbidden")
    
    ///个人用户头像更新 需要改变的地方 请监听
    static let my_avatar_updated = Notification.Name("ChangeMyAvatarNotificationKey")
    
    ///微信授权成功 [code:String]
    static let wx_login_finished = Notification.Name("WxLoginFinishedNotificationKey")
    
    ///QQ授权成功 [openId:String]
    static let q_q_login_finished = Notification.Name("QQLoginFinishedNotificationKey")
    
    
    ///选择喜欢道具 刷新
    static let pairs_prop_updated = Notification.Name("PairsPropUpdateNotificationKey")
    
    ///特质个数 刷新
    static let peculiarity_count_updated = Notification.Name("PeculiarityCountUpdateNotificationKey")
    
    
    ///喜欢了我红点刷新
    static let love_me_red_point = Notification.Name("LoveMeRedPointNotificationKey")


    ///刷新喜欢了我
    static let refresh_love_me = Notification.Name("RefreshLoveMeForRedPointNotificationKey")
    
    /** 本地扩展更新 userinfo  [ msgIdSet = "",ext = [:]]
     msgIdSet 多个id 以逗号[67b605c6e2a74904244f69a02b0f21b2,4904244f69a02b0f21b267b605c6e2a7]分隔
     msgIdSet == ""  所有有效消息更新
     */
    static let i_m_message_local_ext_updated = Notification.Name("IMMessageLocalExtUpdateNotificationKey")
    
    static let network_reachability_status = Notification.Name("DTNetworkReachabilityStatusKey")

    
    static let push_peculiarity_success = Notification.Name("PushPeculiaritySuccessNotificationKey")
    
    static let in_pur_status_success = Notification.Name("InPurStatusSuccessNotificationKey")

    
    static let gender_switched = Notification.Name("SwitchGenderNotificationKey")

    /**个人用户信息更新 */
    static let my_user_info_updated = Notification.Name("MyUserInfoUpdatedNotificationKey")

    

    /**个人昵称审核失败*/
    static let nick_name_audit_failure = Notification.Name("NickNameAuditFailureNotificationKey")

    /**人脸状态更新 */
    static let face_status = Notification.Name("FaceStatusNotificationKey")

   
    /**
     新个人数据更新
     */
    static let my_pairs_user_info_updated = Notification.Name("MyPairsUserInfoUpdatedNotificationKey")

    static let i_msync_o_k = Notification.Name("IMsyncOK")
    
    
    static let ready_play_barrage = Notification.Name("ReadyPlayBarrageNotification")

    /**
     喜欢过了某人  id = user accid
     */
    static let liked_somebody = Notification.Name("LikedSomebodyNotificationKey")


    /**对某人不敢兴趣  userInfo = ["accid": self.accid]   */
    static let ignore_somebody = Notification.Name("IgnoreSomebodyNotificationKey")


    /**喜欢 取消喜欢 全局刷新*/
    static let like_peculiarity = Notification.Name("LikePeculiarityNotificationKey")

    /** 头像 审核 刷新问题
     */
    static let approved_avatar = Notification.Name("ApproveAvatarNotificationKey")

    /** 特质 审核  1是通过
     */
    static let approved_peculiarity = Notification.Name("ApprovePeculiarityNotificationKey")
    
    
    static let sort_my_peculiarity = Notification.Name("SortMyPeculiarityNotificationKey")


    /**收到新的喜欢 */
    static let received_love = Notification.Name("ReceivedLoveNotificationKey")


    /**收到收益礼物 */
    static let received_income_gift = Notification.Name("ReceivedIncomeGiftNotificationKey")
    
    
    /**自己拉黑 */
    static let ban_somebody = Notification.Name("BanSomebodyNotificationKey")

    /**
     刷新 好友列表
     */
    static let refresh_sweet_heart = Notification.Name("RefreshSweetHeartNotificationKey")

    /**
     刷新 喜欢Index 页面
     */
    static let refresh_pairs_love_controller = Notification.Name("RefreshPairsLoveControllerNotificationKey")

    /**
     回到 上一层的controller  userInfo = ["controller": vc]
     */
    static let goback_topmost_controller = Notification.Name("gobackTopmostControllerNotificationKey")
    /**
     跳转到下一级controller  userInfo = ["fromController": vc0,"toController":vc1]
     */
    static let global_present_controller = Notification.Name("GlobalPresentControllerNotificationKey")


    /**
     关注全局刷新  userInfo = ["fromController"   "id"   "isThumbUp"]
     */
    static let thumbUp = Notification.Name("ThumbUpNotificationKey")


    /**
     看过某人 喜欢和不喜欢  userInfo = ["fromController"   "id"  "isThumbUp"]
     */
    static let showedSomeOne = Notification.Name("ShowedSomeOneNotificationKey")
    
    
    
    /**
     点赞日常全局刷新  userInfo = ["fromController"   "id"   "isThumbUp"]
     */
    static let thumbUpDaily = Notification.Name("ThumbUpDailyNotificationKey")
    
    
    
    /**
     头像刷新
     */
    static let avatarUpdated = Notification.Name("UpdateAvatarNotificationKey")

    /**
     甜心币改变
     */
    static let modifyCoin = Notification.Name("ModifyCoinNotificationKey")

    /**
     收益改变
     */
    static let modifyIncomeCoin = Notification.Name("ModifyIncomeCoinNotificationKey")
  
    
    
    ///收到守护
    static let receiveGuard = Notification.Name("ReceiveGuardNotificationKey")

    
    ///发送守护 userInfo = ["guardTime"    "guardContent" "userId"]
    static let sendGuard = Notification.Name("SendGuardNotificationKey")
    
    


    /**删除日常 userInfo = ["id"]*/
    static let DelDaily = Notification.Name("DelDailyNotificationKey")
    
    
    
    
    ///匿名评论状态更新
    static let anonymousStatus = Notification.Name("AnonymousStatusNotificationKey")



    ///我创建的房间更新 插入第一条数据
    static let InsertMyCreateRoom = Notification.Name("InsertMyCreateRoomNotificationKey")
    
    
    ///点击分享按钮
    static let onClickShareMyApp = Notification.Name("onClickShareMyAppNotificationKey")
    

    /// 刷新结果
    static let refreshStatusWhenBackApp = Notification.Name("refreshStatusWhenBackApp")
    
    /// 刷新
    static let refreshTicketStatusWhenBackApp = Notification.Name("refreshTicketStatusWhenBackApp")
    
       /// 小窗需要停止
    static let personalVideoNeedPause = Notification.Name("personalVideoNeedPause")
    
    /// 小窗需要播放
    static let personalVideoNeedPlay = Notification.Name("personalVideoNeedPlay")

    /// 美颜设置界面关闭
    static let beauty_config_closed_noti = Notification.Name("KC_beauty_config_closed_Noti")
}
